.taskGanttContainer {
  .ganttMembers {
    width: 164px;
    overflow: hidden;
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.12);
    z-index: 1;
    position: relative;
    overflow: hidden;

    > .flexColumn {
      position: absolute;
      top: 0;
      bottom: 0;
    }

    .ganttNetwork {
      width: 210px;
      padding: 0 12px;
      box-sizing: border-box;
      height: 48px;
      border-bottom: 1px solid rgba(117, 117, 117, 0.15);
      box-sizing: border-box;
      .ganttNetworkName {
        line-height: 48px;
        font-size: 13px;
        box-sizing: border-box;
        padding-right: 20px;
        width: 100%;
        cursor: pointer;
        &:not(:hover) {
          color: #757575 !important;
        }
        i {
          position: absolute;
          right: 12px;
          top: 17px;
          font-size: 14px !important;
        }
      }
      ul {
        position: absolute;
        top: 42px;
        left: 5px;
        right: 5px;
        background: #fff;
        padding: 6px 0;
        z-index: 10;
        max-height: 160px;
        overflow: auto;
        overflow-x: hidden;
        li {
          padding: 0 12px;
          width: 100%;
          box-sizing: border-box;
          cursor: pointer;
          height: 32px;
          line-height: 32px;
          vertical-align: top;
          &:not(.active):not(:hover) {
            background: #fff !important;
            color: #757575 !important;
          }
          &:not(.active):hover {
            color: #fff !important;
          }
          &.active {
            background: #fff !important;
          }
          i {
            font-size: 14px;
            margin-right: 8px;
          }
        }
      }
    }

    .ganttMembersList {
      overflow: scroll;
      width: 200px;
      &::-webkit-scrollbar {
        height: 10px;
      }
      li {
        width: 140px;
        padding: 8px 12px 2px;
        min-height: 30px;
        line-height: 24px;
        font-size: 13px;
        border-bottom: 1px solid rgba(117, 117, 117, 0.15);
        box-sizing: initial;
        &:last-child {
          border-bottom-width: 0;
        }
        .ganttMembersAvatar {
          display: inline-block !important;
          vertical-align: top;
          margin-right: 8px;
          cursor: default;
          box-sizing: initial;
          &.ThemeBorderColor3 {
            padding: 2px;
            border-width: 1px;
            border-style: solid;
            margin-left: -3px;
            margin-top: -3px;
            border-radius: 50%;
          }
        }
        .overflow_ellipsis {
          vertical-align: top;
          max-width: 80px;
        }
      }
    }
  }

  .subordinateMembers {
    width: 210px;
    .ganttMembersList {
      width: 230px;
      li {
        width: 186px;
        position: relative;
        cursor: pointer;
        &:hover {
          .ganttMembersAddTask,
          .ganttMembersOperation {
            display: inline-block;
          }
        }
        &:last-child {
          padding-bottom: 36px;
        }
        .overflow_ellipsis {
          max-width: 55px;
        }
        .ganttTriangle {
          position: absolute;
          top: -8px;
          left: -8px;
          width: 0;
          height: 0;
          border-style: solid;
          border-width: 8px;
          border-color: transparent transparent #ccc transparent;
          transform: rotate(-45deg);
        }
        .ganttMembersAddTask,
        .ganttMembersOperation {
          position: absolute;
          top: 11px;
          cursor: pointer;
          right: 32px;
          line-height: normal;
          display: none;
          &:not(:hover) {
            color: #9e9e9e !important;
          }
        }
        .ganttMembersOperation {
          top: 12px;
          right: 12px;
          .icon-moreop:not(:hover) {
            color: #9e9e9e !important;
          }
        }
      }
    }
  }

  .ganttSubordinate {
    height: 34px;
    line-height: 34px;
    box-sizing: border-box;
    text-align: center;
    width: 210px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    border-top: 1px solid rgba(117, 117, 117, 0.15);
    cursor: pointer;
    &:not(:hover),
    .icon-knowledge-message {
      color: #9e9e9e !important;
    }
  }

  .ganttSubordinateNull {
    width: 210px;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    + li {
      border-top: 1px solid rgba(117, 117, 117, 0.15);
      padding-top: 7px !important;
    }
    .ganttTextAlignLeft {
      text-align: left;
      width: 170px;
    }
    .ganttSubordinateAddMember {
      width: 120px;
      height: 30px;
      line-height: 30px;
      border-radius: 3px;
      cursor: pointer;
      border-style: solid;
      border-width: 1px;
    }
  }
}

.ganttSubordinateBox {
  position: absolute;
  z-index: 100;
  &.ganttSubordinateBox-hidden {
    display: none;
  }
  .ganttSubordinateMembersOp {
    width: 160px;
    background: #fff;
    padding: 6px 0;
    li {
      padding: 0 12px;
      width: 100%;
      box-sizing: border-box;
      cursor: pointer;
      height: 32px;
      line-height: 32px;
      vertical-align: top;
      &:not(:hover) {
        background: #fff !important;
        color: #757575 !important;
      }
      &:hover {
        color: #fff !important;
      }
      i {
        font-size: 14px;
        margin-right: 10px;
      }
    }
  }
}
